<link href="../addons/jy_area_psi/resource/css/style.css" rel="stylesheet">
<style type="text/css">
	.icon1 {
		width: .8rem; height: .8rem;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
</style>
<div class="fui-page fui-page-current page-commission-index ">
    <div class='fui-content'>
	<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;">
			<div class="fui-cellone" style="padding:0">
				<div class="fui-cellone-label" style="width:auto;">
					<img style="border-radius: 0.2rem;width:2.2rem;height:2.2rem" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cellone-text" style="font-size:0.7rem;color:#fff;padding-left:0.5rem">
					<div class="bold">{{pagedata.member.nickname || '昵称'}} (ID:{{pagedata.member.mid}})</div>
					<div style="font-size:0.6rem">{{pagedata.member.mobile}}</div>
					<div>
						<span style="font-size:0.7rem;margin-top:0.3rem;color:#f2f2f2">({{pagedata.member.leveltitle}})<i class='icon icon-question' style='font-size:8px;'></i></span>
					</div>
				</div>
				<div class="fui-cellone-remark noremark" style="font-size:1rem;color:#fff;">
					<span ng-if="pagedata.pluginset.yajin_open==1 && (!pagedata.item.is_yajinfee || pagedata.item.is_yajinfee<=0.00)" class="fui-tag-red-o" ng-click="access_json('jy_area_psi/setyajin/')" style="margin-top:-0.2rem;padding:0.06rem 0.3rem;">缴纳保证金</span>
				</div>
			</div>	
			<div class="fui-icon-group noborder  col-3" style="padding-top:0.5rem">
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">累计奖励余额</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.data.commission_total || '0.00'}}</div>
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">可用余额</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.credit2 || 0}}</div>
														
													</div>
					</div>
					<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="subtitle" style="font-size:0.7rem;color:#fff">可用贡献值</div>
														<div class="text bold" style="color:#fff;line-height:1.6rem;font-size:1rem">{{pagedata.member.cv || 0}}</div>
													</div>
					</div>
			</div>			
	</div>
	<div class='jy-content' style="margin-top:-2rem">
		<div class="userblock">
			<div class="line total new">
				<div class="num">{{pagedata.data.balance_total || '0.00'}}</div>
				<div class="title">已结算余额(元)</div>
			</div>
			<div class="line usable new">
				<div class="text">
					<div class="num">{{pagedata.data.commission_1  || '0.00'}}</div>
					<div class="title">待结算余额(元)</div>
					<div class="gray" style="font-size:0.6rem">完成订单或者7天后才可以结算(需手动结算)</div>
				</div>		
				<a ng-click="access_json('/commission/')" class="btn btn-warning external" ><span style="line-height: 1">前往结算</span></a>
			</div>
		</div>
		<div class="fui-cell-group fui-cell-click mod-group">
			<div class="fui-cell">
				<div class="fui-cell-text bold">我的服务</div>
			</div>
			<div class="fui-icon-group col-4 selecter">
				<a class="fui-icon-col-sm" href="javascript:;" ng-click="access_json('/feelog//isfee=1')">
					<div class="icon"><i class="icon icon-jiangjiatongzhi"></i></div>
					<div class="text">余额奖励</div>
				</a>
				<a class="fui-icon-col-sm" href="javascript:;" ng-click="access_json('/feelog//isfee=0')">
					<div class="icon"><i class="icon icon-jifen"></i></div>
					<div class="text">贡献值奖</div>
				</a>
				<a class="fui-icon-col-sm external" href="javascript:;" ng-click="access_json('/balance/main')">
					<div class="icon"><i class="icon icon-caifua"></i></div>
					<div class="text">我的结算</div>
				</a>
			</div>
		</div>
	</div>
	<div class="weui_btn_area" ng-if="pagedata.member.newlevel_id>0">
		<a class="weui_btn weui_btn_red" href="javascript:"  ng-click="access_json('/apply/')">申请区域代理</a>
	</div>
</div>

</div>